<?php
/**
 * Created by PhpStorm.
 * User: coffee
 * Date: 2018/1/2
 * Time: 上午11:10
 */

namespace App\Models;


use Illuminate\Database\Eloquent\SoftDeletes;

class StudentFirstBillingTime extends BaseModels
{
    use SoftDeletes;

    protected $table = 'student_first_billing_time';
    protected $primaryKey = 'student_id';
    protected $dates = ['billing_time'];

    const BILLING_TYPE_LESSON = 1;
    const BILLING_TYPE_CASH = 2;


    public function getStudentId()
    {
        return $this->student_id;
    }

    public function setStudentId($value)
    {
        $this->student_id = $value;
    }

    public function getProductId()
    {
        return $this->product_id;
    }

    public function setProductId($value)
    {
        $this->product_id = $value;
    }

    public function getBillingType()
    {
        return $this->billing_type;
    }

    public function setBillingType($value)
    {
        $this->billing_type = $value;
    }

    public function getBillId()
    {
        return $this->bill_id;
    }

    public function setBillId($value)
    {
        $this->bill_id = $value;
    }

    public function getBillingTime()
    {
        return $this->billing_time;
    }

    public function setBillingTime($value)
    {
        $this->billing_time = $value;
    }

}